// 路由配置项
import type { RouteRecordRaw } from "vue-router";
export const routes: Array<RouteRecordRaw> = [
  {
    path: '/',
    component: () => import('@/pages/Home/index.vue')
  },
  {
    path: '/worthbuy',
    component: () => import('@/pages/WorthBuy/index.vue')
  },
  {
    path: '/search',
    component: () => import('@/pages/Search/index.vue')
  },
  {
    path: '/shopCart',
    component: () => import('@/pages/ShopCart/index.vue')
  },
  {
    path: '/category',
    component: () => import('@/pages/Category/index.vue'),
  },
  {
    path: '/center',
    component: () => import('@/pages/Center/index.vue')
  },
  {
    path: '/login',
    component: () => import('@/pages/Login/index.vue')
  },
  {
    path: '/list',
    component: () => import('@/pages/List/index.vue')
  },
  {
    path: '/developing',
    component: () => import('@/pages/Developing/index.vue')
  },
  {
    path: '/goodsDetails',
    component: () => import('@/pages/GoodsDetails/index.vue'),
    name: 'GoodsDetails'
  },
  {
    path: '/davPage',
    component: () => import('@/pages/DavPage/index.vue'),
    name: 'DavPage'
  },
  {
    path: '/phonelogin',
    component: () => import('@/pages/PhoneLogin/index.vue')
  },
  {
    path: "/saleCategory",
    component: () => import("@/pages/SaleCategory/index.vue"),
    name: "SaleCategory",
  },
]
